<template>
	<view class="wanlfind-follow-container" style="background-color: white;">
		<view class="edgeInsetTop"></view>
		<wanl-empty src="apply" text="您不是业务经理 !" v-if="hostData.status == -1"/>
		
		<view class="edgeInsetBottom"></view>

		<!-- 加载更多 -->
		<!-- <uni-load-more :status="status" :content-text="contentText" /> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dataList: [],
				hostData:{
					status:3
				},
				status: 'loading',
				type:1,
			}
		},
		onLoad(option) {
			this.type = option.type
		
			this.loadData();
		},
		
		methods: {
			async loadData() {
				this.$api.post({
					url: '/wanlshop/staff/index',
					success: res => {
						if(res == null){
							this.hostData.status = -1; //数据 追加
						} 
						
						
					}
				});
			},
		}
	}
</script>

<style lang="scss">
	.wanlfind-follow-container {
		&__list {
			.item {
				display: flex;
				align-items: center;

				.cu-avatar {
					width: 100rpx;
					height: 100rpx;
					flex-shrink: 0;
					background-color: #f9f9f9;
				}

				.subject {
					display: flex;
					align-items: center;
					justify-content: space-between;
					flex: 1;

					.info {
						max-width: 250rpx;
					}

					.menu {
						display: flex;
						align-items: center;
					}
				}
			}
		}
	}
</style>